package net.kleinhenz.norabase.client;

import java.util.List;

import net.kleinhenz.norabase.shared.model.Battlegroup;
import net.kleinhenz.norabase.shared.model.Rune;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface BattlegroupServiceAsync {

	public void createBattlegroup(Battlegroup<Rune> battlegroup, AsyncCallback<String> callback);
	public void retrieveBattlegroup(String id, AsyncCallback<Battlegroup<Rune>> callback);
	public void retrieveBattlegroups(AsyncCallback<List<Battlegroup<Rune>>> callback);
	public void updateBattlegroup(Battlegroup<Rune> battlegroup, AsyncCallback<Void> callback);
	public void deleteBattlegroup(Battlegroup<Rune> battlegroup, AsyncCallback<Void> callback);
}
